/**
 * “交易明细”相关接口
 */
import request from '@/utils/request'

export function queryPlatformBusinessRec(queryParam, pageParam) {
  return request({
    url: '/platformBusinessRec/queryDetail',
    method: 'post',
    data: {
      ...queryParam,
      current: pageParam.current,
      size: pageParam.size
    }
  })
}
export function downBillDetail(queryParam) {
  return request({
    url: '/platformBusinessRec/down',
    method: 'post',
    data: {
      ...queryParam
    }
  })
}
export function allStatistical(queryParam) {
  return request({
    url: '/platformBusinessRec/allStatistical',
    method: 'post',
    data: {
      ...queryParam
    }
  })
}
export function abnormalStatistics(queryParam) {
  return request({
    url: '/platformBusinessRec/getAbnormalStatistics',
    method: 'post',
    data: {
      ...queryParam
    }
  })
}

export function refund(data) {
  return request({
    url: '/platformBusinessRec/refund',
    method: 'post',
    data
  })
}
